package com.dlc.garbagerecyclebox;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;


/**
 * @author :      fangbingran
 * @aescription : 拍照结果类型
 * @date :        2019/06/20  12:44
 */
@IntDef({ PhotoRecognitionType.Recognition, PhotoRecognitionType.RecognitionPasses,PhotoRecognitionType.RecognitionFailure, PhotoRecognitionType.FAILED_TO_OPEN_CAMERA })
@Retention(RetentionPolicy.SOURCE)
public @interface PhotoRecognitionType {
    /**
     * 识别中
     */
    int Recognition = 1;
    /**
     * 识别通过
     */
    int RecognitionPasses = 2;
    /**
     * 识别失败
     */
    int RecognitionFailure = 3;
    /**
     * 摄像头打开异常
     */
    int FAILED_TO_OPEN_CAMERA = 4;
}
